package com.sxj.corejava.code07_面向对象.常量;

/**
 * @author 石小俊
 * @date 2025年01月07日
 */
public class Test02_常量 {

    public static void main(String[] args) {
        User user = new User();
        System.out.println(user.name);

        User user2 = new User();
        System.out.println(user2.name);

        System.out.println(User.age);

        System.out.println(ResponseCodeConstant.RESPONSE_CODE_SUCCESS);
    }

}

class User {
    static final String name = "admin";
    final static int age = 18;
}
